package club.banyuan.oop.animal;

/**
 * @author edz
 * @version 1.0
 * @date 2020/11/17 下午6:41
 */
public class Dog {
    String DogMaterial;
    int DogIQ;

    public String getDogMaterial() {
        return DogMaterial;
    }

    public void setDogMaterial(String dogMaterial) {
        DogMaterial = dogMaterial;
    }

    public int getDogIQ() {
        return DogIQ;
    }

    public void setDogIQ(int dogIQ) {
        DogIQ = dogIQ;
    }
}

//    public String getDogInfo(){
////        dog.setDogIQ();
//        String des,info;
//        if(DogIQ<20)
//        if(dog.getDogIQ()>=20&&dog.getDogIQ()<80){
//            des="普通的";
//            info=des+dog.getDogMaterial();
//            return info;
//        }
//        if(dog.getDogIQ()>=80){
//            des="聪明的";
////            info=des+dog.getDogMaterial();
////            return info;
//////        }
////    return "";
////    }
//
//    public void printDogInfo(Dog dog){
//        System.out.println(getDogInfo());
//    }




//}
